import request from '@/utils/request'

// 查询转售企业项目列表
export function listResellproject(query) {
  return request({
    url: '/resell/resellproject/list',
    method: 'get',
    params: query
  })
}

// 查询转售企业项目详细
export function getResellproject(proId) {
  return request({
    url: '/resell/resellproject/' + proId,
    method: 'get'
  })
}

// 新增转售企业项目
export function addResellproject(data) {
  return request({
    url: '/resell/resellproject',
    method: 'post',
    data: data
  })
}

// 修改转售企业项目
export function updateResellproject(data) {
  return request({
    url: '/resell/resellproject',
    method: 'put',
    data: data
  })
}

// 删除转售企业项目
export function delResellproject(proId) {
  return request({
    url: '/resell/resellproject/' + proId,
    method: 'delete'
  })
}
